package com.wiwl.service.implementacion;

import com.wiwl.dao.hibernate.MenuItemDAO;
import com.wiwl.service.interfaces.IMenuItemService;
import com.wiwl.web.controller.MenuItem;

import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value="menuItemService")
public class MenuItemService extends GenericServiceImplementacion<MenuItem, MenuItemDAO> implements IMenuItemService  {

  @Override
  public List<MenuItem> getRootMenuItems() {
	  return dao.getRootMenuItems();
  }

}
